import Vue from 'vue'
import Router from 'vue-router'
import MSite from '../pages/MSite/MSite'
import Order from '../pages/Order/Order'
import Profile from '../pages/Profile/Profile'
import search from '../pages/search/search'
import login from '../pages/login/login'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/MSite',
      component: MSite,
      meta:{
        isshow:true
      }
    },
    {
      path: '/Order',
      component: Order,
      meta:{
        isshow:true
      }
    },
    {
      path: '/Profile',
      component: Profile,
      meta:{
        isshow:true
      }
    },
    {
      path: '/search',
      component: search,
      meta:{
        isshow:true
      }
    },
    {
      path:'/login',
      component:login,
      meta:{
        isshow:false
      }
    }
  ]
})
